abs

function abs(a: integer): integer

Returns the absolute value of a integer value; i.e. the value itself if it's positive or its negation if it's negative.

Return

the absolute value of the argument

Since

0.6.0

Parameters

a

the integer for which to determine an absolute value


Returns the absolute value of a big_integer value; i.e. the value itself if it's positive or its negation if it's negative.

Return

the absolute value of the argument

Since

0.12.0

Parameters

a

the big_integer for which to determine an absolute value


function abs(a: decimal): decimal

Returns the absolute value of a decimal value; i.e. the value itself if it's positive or its negation if it's negative.

Return

the absolute value of the argument

Since

0.9.1

Parameters

a

the decimal for which to determine an absolute value